#include <stdio.h>

class Unit {
    public: 
        Unit(int x = 0,int y = 0): _x(x), _y(y){}

        void moveTo(int x,int y){
            _x = x;
            -y = y;
        }
        int x(){
            return _x;
        }
        int y(){
            return _y;
        }

    private:
        int _x,_y;

};